
// ImageCuratorGUI.h : main header file for the ImageCuratorGUI application
//
#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"       // main symbols
#include "MxProductID.h"
#include "MxUtils\MxUtils1.h"
#include "MxPluginManager\MxPluginManager1.h"
#include "ImageCurator.h"
#include "ImageCuratorErrorCodes.h"


// CImageCuratorGUIApp:
// See ImageCuratorGUI.cpp for the implementation of this class
//

class CImageCuratorGUIApp : public CWinAppEx
{
public:

public:
	CImageCuratorGUIApp();
	~CImageCuratorGUIApp();

	ImageCurator *		GetICLib() { return _imagecurator; }
	MxPluginManager *	GetMxPluginManager() { return _mxPluginManager; }
	bool				SetFactoryDefaults();

// Overrides
public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();

// Implementation
	BOOL  m_bHiColorIcons;

	virtual void PreLoadState();
	virtual void LoadCustomState();
	virtual void SaveCustomState();

	afx_msg void OnAppAbout();
	DECLARE_MESSAGE_MAP()
private:
	ImageCurator *_imagecurator;
	MxPluginManager *_mxPluginManager;
	MxVersionInfo *_verInfo;

};

extern CImageCuratorGUIApp theApp;
